PDFSampleFunction Class
Definition
Namespace: O2S.Components.PDF4NET.PDFFunctions
Defines a type 0 (Sampled) function.
Inheritance: Object → PDFFunction → PDFSampleFunction
Remarks
Type 0 PDF functions use a sequence of sample values (contained in a stream) to provide an approximation for functions whose domains and ranges are bounded. The samples are organized as an m-dimensional table in which each entry has n components.
Constructors
| Name | Description |
|---|---|
| PDFSampleFunction() | Initilizes a new PDFSampleFunction object. |
| PDFSampleFunction(Int32[],Int32,PDFFunctionInterpolationMode,Double[],Double[],Byte[]) | Initializes new PDFSampleFunction object. |
Properties
| Name | Description |
|---|---|
| BitsPerSample | Gets or sets the bits per sample. |
| Decode | Gets or sets the function's decoding array. |
| Domain | Gets or sets the function domain. (inherited from PDFFunction) |
| Encode | Gets or sets the function's encoding array. |
| InterpolationMode | Gets or sets the interpolation mode. |
| Range | Gets or sets the function range. (inherited from PDFFunction) |
| Samples | Get or sets the function samples. |
| Size | Gets or sets the number of samples. |